import React from 'react'
import { Text, View, TouchableOpacity, Image, AsyncStorage, ScrollView } from 'react-native'
import { Metrics, Colors, Fonts } from '../../Themes'
import styles from '../Styles/CommonContainerStyles'
import ProductListScreen from "../Home/ProductListScreen"
import ZGlistScreen from "../ZhaoGong/ZGlistScreen"
import { Tabs } from '@ant-design/react-native'

class CollectContainerScreen extends React.Component {

    constructor(props) {
        super(props)
    }

    render() {
        const tabs = [
            { title: '产品' },
            { title: '招工' },
        ]
        return (
            <View style={[styles.container, { backgroundColor: 'white' }]}>
                <Tabs
                    tabs={tabs}
                    swipeable={false}>
                    <ProductListScreen isCollect={true} navigation={this.props.navigation}/>
                    <ZGlistScreen isCollect={true} navigation={this.props.navigation}/>
                </Tabs>
            </View>
        )
    }
}


export default CollectContainerScreen
